import axios from "./index"
//发布文章
export function addArticle(params){
    return   axios.post('/api/add_article',params)

}
//获取七牛上传token
export function getUploadToken(){
    return  axios.get('upload/token')

}
//上传七牛
export function uploadQiniu(formData){
    return  axios.post('https://upload-z1.qiniup.com',formData)

}



